import { demoProps } from "@/stores/modules/merakDemo";
const demoProp = demoProps();
const defaultRouter = "/demo/index";
//demo 页菜单数据
const demoMenuList = [
  {
    title: `${demoProp.title} 开发规范(必读) `,
    list: [
      { title: "关于本文档", router: "/demo/readme" },
      { title: "关于注释", router: "/demo/rulesExp" },
      { title: "关于css", router: "/demo/rulesCss" },
      { title: "关于JavaScript", router: "/demo/rulesJs" },
      { title: "关于http规则", router: "/demo/ruleshttp" },
      { title: "关于禁止！", router: "/demo/rulesStop" },
      { title: "指令directives！", router: "/demo/directives" }
    ]
  },
  {
    title: `${demoProp.title} 多数接口通用数据结构`,
    list: [{ title: "使用规范", router: "/demo/dataStructure" }]
  },
  {
    title: `${demoProp.title}  中俄文切换 `,
    list: [{ title: "使用规则", router: "/demo/language" }]
  },
  {
    title: `${demoProp.title}  公共方法 `,
    list: [{ title: "货币格式化", router: "/demo/currency" }]
  },
  {
    title: `${demoProp.title} zIndex层级规定`,
    list: [{ title: "基本规格", router: "/demo/zindex" }]
  },
 
  {
    title: `${demoProp.title}  Layout布局 `,
    list: [{ title: "Layout布局", router: "/demo/lyout" }]
  },
  {
    title: `${demoProp.title}  模态、抽屉 `,
    list: [
      { title: "抽屉", router: "/demo/drawer" },
      { title: "居中模态框", router: "/demo/dialog" }
    ]
  },
  {
    title: `${demoProp.title} 批量编辑tableEdit`,
    list: [
      // 
      { title: "basic展示", router: "/demo/baseTable" },
      { title: "新增编辑展示", router: "/demo/showTable" }, 
      { title: "More展示", router: "/demo/moreShow" }]
  },
  {
    title: `${demoProp.title}  FROM表单 `,
    list: [
      { title: "使用规则", router: "/demo/rule" },
      { title: "基础form表单集成", router: "/demo/index" },
      { title: "form表单静态展示", router: "/demo/show" },
      { title: "input", router: "/demo/input" },
      { title: "select", router: "/demo/select" },
      { title: "单张图片上传", router: "/demo/singleUpload" },
      { title: "switch", router: "/demo/switch" },
      { title: "radio/checkbox", router: "/demo/radio" }
    ]
  },
  {
    title: `${demoProp.title} Button `,
    list: [{ title: "按钮", router: "/demo/btn" }]
  },
  {
    title: `${demoProp.title}  下拉菜单 `,
    list: [{ title: "Dropdown", router: "/demo/dropdown" }]
  },
  {
    title: `${demoProp.title} Steps 步骤条 `,
    list: [
      { title: "Step", router: "/demo/steps" },
      { title: "时间线Timeline", router: "/demo/timeline" }
    ]
  },
  {
    title: `${demoProp.title} 常用ICON `,
    list: [{ title: "常用ICON", router: "/demo/commonIcons" }]
  },
  {
    title: `${demoProp.title} 状态Tag`,
    list: [{ title: `${demoProp.title} 状态Tag`, router: "/demo/logisticsTag" }]
  },
  {
    title: `${demoProp.title} Tabs`,
    list: [{ title: "Tabs", router: "/demo/tabs" }]
  },
  {
    title: `${demoProp.title} DatePicker1`,
    list: [
      { title: "DatePicker", router: "/demo/datePicker" },
      { title: "DateTimePicker", router: "/demo/dateTimeSelect" }
    ]
  },
  {
    title: `${demoProp.title} 公共提示`,
    list: [
      { title: "Alert静态提示", router: "/demo/alert" },
      { title: "Toast提示", router: "/demo/toast" },
      { title: "Confirm提示", router: "/demo/confirm" },
      { title: "Notification 通知", router: "/demo/notification" }
    ]
  },
  {
    title: `${demoProp.title} 时间范围选择`,
    list: [{ title: "timeSelect", router: "/demo/timeSelect" }]
  },
  {
    title: `${demoProp.title} 数据展示`,
    list: [
      { title: "统计筛选卡片", router: "/demo/statCard" },
      { title: "Loading", router: "/demo/loading" },
      { title: "Table", router: "/demo/table" },
      { title: "Progress", router: "/demo/progress" },
      { title: "Image", router: "/demo/image" },
      { title: "Empty", router: "/demo/empty" },
      { title: "Descriptions", router: "/demo/descriptions" },
      { title: "Collapse", router: "/demo/collapse" },
      { title: "Carousel", router: "/demo/carousel" }
    ]
  },
  {
    title: `${demoProp.title} 常用组件（ElementPlus）`,
    list: [
      { title: "Scrollbar 滚动条", router: "/demo/scrollbar" },
      { title: "Rate 评分", router: "/demo/rate" },
      { title: "Slider 滑块", router: "/demo/slider" },
      { title: "Tree 树形控件", router: "/demo/tree" },
      { title: "TreeSelect 树形选择", router: "/demo/treeSelect" },
      { title: "Calendar 日历", router: "/demo/calendar" },
      { title: "Badge 徽章", router: "/demo/badge" },
      { title: "高级搜索组件", router: "/demo/advanced_search" },
      { title: "文件上传", router: "/demo/uploadImage" }
    ]
  },
  {
    title: `${demoProp.title} 公共样式`,
    list: [
      { title: "变量", router: "/demo/styleVars" },
      { title: "类名", router: "/demo/styleClass" }
    ]
  }
];

export { demoMenuList, defaultRouter };
